import request from '@/utils/request';

export function list() {
	return request({
		url: 'api/payCheckwork/list',
    method: 'get',
	});
}

export function add(data: any) {
	return request({
		url: 'api/payCheckwork/save',
    method: 'post',
    data
	});
}

export function edit(data: any) {
	return request({
		url: 'api/payCheckwork/update',
    method: 'put',
    data
	});
}

export function del(data: any) {
	return request({
		url: 'api/payCheckwork/del',
    method: 'delete',
    data
	});
}

// id查询用户
export function info(id: string) {
  return request({
    url: 'api/payCheckwork/info/'+id,
    method: 'get'
  })
}